package com.buer.storage.dao;

import com.buer.storage.entity.Stockdetails;
import com.buer.storage.entity.StockdetailsDO;
import com.buer.storage.vo.StockDetailVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface StockdetailsDao {

    List<Stockdetails> selectStockdetailsAll(Map<String, Object> map);

    List<Stockdetails> getStock(Map<String, Object> map);

    List<Stockdetails> searchStock(Map<String, Object> map);

    List<StockDetailVo> getAllStockDetails();

    List<Stockdetails> getStockdetailsList(Map<String, Object> map);

    List<StockdetailsDO> findStockdetailsList(Map<String, Object> map);

    int updateDetailStatusById(int stockdetailsId);

    StockdetailsDO get(Integer stockdetailsId);

    int update(StockdetailsDO stockdetails);

    StockDetailVo getStockdetailsById(Integer id);

    int save(Stockdetails stockdetails);
}
